package com.xcjh.smartchat.ui

import android.annotation.SuppressLint
import android.os.Bundle
import com.gyf.immersionbar.ImmersionBar
import com.xcjh.base_lib.base.activity.BaseActivity
import com.xcjh.base_lib.utils.startNewActivity

/**
 * 传统启动页面
 */
@SuppressLint("CustomSplashScreen")
class SplashActivity : BaseActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
       // setContentView(R.layout.chat_activity_splash)

        ImmersionBar.with(this)
            .statusBarDarkFont(true)
            .statusBarColor(android.R.color.transparent)
            .init()
        startNewActivity<MainActivity> {  }
        finish()
    }
}